/*
 * @Date: 2023-08-01 13:41:38
 * @LastEditors: 景冰川 961166897@qq.com
 * @LastEditTime: 2023-08-15 14:50:25
 * @FilePath: \veteran-cadre-app\src\api\user\register.ts
 */
import { get, post } from '@/api/index'

// 商品列表
export async function getShopList() {
  const res = await get<Api.BasicInstance>('/system/orderInfo/getProList', { notLoading: true })
  return res
}

// 套餐列表
export async function getMealList() {
  const res = await get<Api.BasicInstance>('/system/orderInfo/getMealList', { notLoading: true })
  return res
}

// 提交数据
export async function addSubmit(data) {
  const res = await post<Api.BasicInstance>('/system/orderInfo/addSubmit', data, { notLoading: false })
  return res
}
